// 配送点
import { http } from "@/utils/http";
import { type deliveryItemType } from "./types";
// 获取待分拣包裹数量

export const getDeliveryListApi = (warehouseId: string) => {
  // console.log("getLogin data:", data);
  return http.request<deliveryItemType[]>("get", `/cp/delivery-regions`, {
    params: {
      warehouseId: warehouseId
    }
  });
};
